namespace SinaFinance
{
    using System;
    using System.Diagnostics;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;

    public partial class newsStory : UserControl
    {
        //private bool _contentLoaded;
        //internal Grid LayoutRoot;
        //internal Storyboard newsStoryboard;
        //internal Storyboard newsStoryboard_Copy1;
        //internal Path path;

        public newsStory()
        {
            this.InitializeComponent();
            this.newsStoryboard.Begin();
            this.newsStoryboard.Completed += new EventHandler(this.newsStoryboard_Completed);
        }

        //[DebuggerNonUserCode]
        //public void InitializeComponent()
        //{
        //    if (!this._contentLoaded)
        //    {
        //        this._contentLoaded = true;
        //        Application.LoadComponent(this, new Uri("/SinaFinance;component/newsStory.xaml", UriKind.Relative));
        //        this.newsStoryboard = (Storyboard) base.FindName("newsStoryboard");
        //        this.newsStoryboard_Copy1 = (Storyboard) base.FindName("newsStoryboard_Copy1");
        //        this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
        //        this.path = (Path) base.FindName("path");
        //    }
        //}

        private void newsStoryboard_Completed(object sender, EventArgs e)
        {
            this.newsStoryboard_Copy1.Begin();
        }
    }
}
